//
//  musicChooseCell.m
//  享动
//
//  Created by lanou on 16/4/14.
//  Copyright © 2016年 HHUI. All rights reserved.
//

#import "musicChooseCell.h"

@implementation musicChooseCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.chooseButton = [UIButton buttonWithType:UIButtonTypeCustom];
        self.chooseButton.frame = CGRectMake(5, 5, 22.5, 22.5);
        [self.chooseButton setImage:[UIImage imageNamed:@"noChoose.jpg"] forState:UIControlStateNormal];
        [self.contentView addSubview:_chooseButton];
        
        
        self.numberLabel = [[UILabel alloc]initWithFrame:CGRectMake(40, 5, 30, 25)];
        self.numberLabel.textColor = [UIColor lightGrayColor];
        [self.contentView addSubview:_numberLabel];
        
        
        self.nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(75, 5, KWIDTH - 100, 25)];
        self.nameLabel.textColor = [UIColor darkGrayColor];

        [self.contentView addSubview:_nameLabel];
        
    }
    return self;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
